package com.wenhai.springbook.lookupmethod;


import org.springframework.beans.factory.support.AbstractBeanDefinition;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * {@link AbstractBeanDefinition#methodOverrides} LookupOverride 示例
 *
 * @author wenhai
 * @date   2020/10/8
 */
public class LookupMethodDemo {
    public static void main(String[] args) {
        ApplicationContext ctx = new ClassPathXmlApplicationContext("lookup-method.xml");
        ctx.getBean("getBeanTest",GetBeanTest.class).showMe();
    }
}
